package com.ruoyi.behindDoctor.service.impl;

import com.ruoyi.behindDoctor.domain.yDocTeam;
import com.ruoyi.behindDoctor.mapper.yDocTeamMapper;
import com.ruoyi.behindDoctor.service.IyDocTeamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * 团队Service业务层实现
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
@Service
public class yDocTeamServiceImpl implements IyDocTeamService {

    @Autowired
    private yDocTeamMapper teamMapper;

    @Override
    public List<yDocTeam> getAllTeams() {
        return teamMapper.selectAllTeams();
    }

    @Override
    public yDocTeam getTeamById(Integer teamId) {
        return teamMapper.selectTeamById(teamId);
    }
}